package com.itheima.mapper;

import com.itheima.entity.Essay;
import com.itheima.entity.YddEssay;
import com.itheima.vo.EssayVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EssayMapper {

    List<YddEssay> list(String startTime, String endTime, String title, String cateid);

    Essay rowInfoEssayVO(String id);

    void delEssayVO(String id);

    void addEssay(Essay essay);

    void updateEssay(Essay essay);
}
